package com.jiezhuo.mapper.iot;

import com.jiezhuo.dto.NodeInfoAndSensorNumDTO;
import com.jiezhuo.entity.IotNodeInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-19
 */
public interface IotNodeInfoMapper extends BaseMapper<IotNodeInfo> {
    Map<String, Object> nodeInfo(Integer id);

    List<Map<String, Object>> getNodeInfoAndSensorNum(NodeInfoAndSensorNumDTO nodeInfoAndSensorNumDTO);

    Integer getNodeInfoAndSensorNumCount();
}
